package com.davcam.testproject;

public class Room {
	
	/*
	 * A Room is a location within the game world.
	 */
	
	private int roomID;				// Room's ID.
	private String roomName;		// Room's name.
	private String roomDescription;	// Room's description.
	private String roomDetail;		// Room's detail (when user "looks").
	private int roomNorth;			// Room's North connection.
	private int roomSouth;			// Room's South connection.
	private int roomEast;			// Room's East connection.
	private int roomWest;			// Room's West connection.
	private int roomType;			// Room's type.
	
	public Room(int rNum) {
		roomID = rNum;
		
		// Initialize stats.
		roomName = "";
		roomDescription = "";
		roomDetail = "";
		roomNorth = 0;
		roomSouth = 0;
		roomEast = 0;
		roomWest = 0;
		roomType = 0;
	}
	
	// Room's ID.
	public int getID() { return roomID; }
	public void setID(int rNum) { roomID = rNum; }
	
	// Room's name.
	public String getName() { return roomName; }
	public void setName(String rName) { roomName = rName; }
	
	// Room's description.
	public String getDescription() { return roomDescription; }
	public void setDescription(String rDescription) { roomDescription = rDescription; }
	
	// Room's detail.
	public String getDetail() { return roomDetail; }
	public void setDetail(String rDetail) { roomDetail = rDetail; }
	
	// Room's north connection.
	public int getNorth() { return roomNorth; }
	public void setNorth(int rNum) { roomNorth = rNum; }
	
	// Room's south connection.
	public int getSouth() { return roomSouth; }
	public void setSouth(int rNum) { roomSouth = rNum; }
	
	// Room's east connection.
	public int getEast() { return roomEast; }
	public void setEast(int rNum) { roomEast = rNum; }
	
	// Room's west connection.
	public int getWest() { return roomWest; }
	public void setWest(int rNum) { roomWest = rNum; }
	
	// Room's type.
	public int getType() { return roomType; }
	public void setType(int rNum) { roomType = rNum; }
}
